<?php
require('../..//public/zscg.php');
require('../..//public/local.php');


$res=delete($con,'gonggao',$_GET['id']);

if($res){
    echo "<script>alert('删除成功');window.location.href='/admin/guanggao/index.php'</script>";
}else{
    echo "<script>alert('删除失败');window.location.href='/admin/guanggao/index.php'</script>";
}

